package cn.wolfcode.ssm.mapper;

import cn.wolfcode.ssm.domain.Hero;
import cn.wolfcode.ssm.query.HeroQueryObject;

import java.util.List;

public interface HeroMapper {
    void insert(Hero hero);
    void delete(Long id);
    void update(Hero hero);

    Hero selectOne(Long id);
    List<Hero> selectAll();

    List<Hero> queryForList(HeroQueryObject qo);
}
